package com.dog.modules.upms.feign;


import com.dog.framework.core.model.ResponseResult;
import com.dog.modules.upms.dto.request.UserReqDto;
import com.dog.modules.upms.feign.fallback.CommentClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "upms-biz-service",contextId = "upms-biz-service-comment-api",fallback = CommentClientFallback.class)
public interface CommentClient {


    @PostMapping(value = "/blog-comments/comment/total")
    ResponseResult<Long> total(@RequestBody UserReqDto param);

}
